package com.hyacinth.database.annotation;

import java.lang.annotation.*;

/**
 * 注解String类型的字段
 * @author zhangfb
 * @version 1.0.0.1
 * @since JDK 1.8
 */
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SQLString {

    String name() default "";

    int length() default 0;

    Constraints constraint() default @Constraints;
}
